﻿using EventBus;
using LiteStep.Currencies;
using LiteStep.Exchanges;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteStep.Events.Handlers
{
	public interface IConversionUpdatedEventHandler<TFrom, TTo, TOn> : IEventHandler
		where TFrom  : ICurrency
		where TTo : ICurrency
		where TOn : IExchange
	{
		void OnConversionUpdatedEvent(ConversionUpdatedEvent<TFrom, TTo, TOn> e);
	}
}
